# -*- coding: utf-8 -*-
from odoo import fields, models


class TourDriverBusy(models.Model):
    """车主设置的忙碌日期，在此期间内不接单，包含开日日期和结束日期"""
    _name = 'tour.owner.busy'
    _description = u'车主设置的忙碌日期'

    owner_id = fields.Many2one('tour.owner', string=u'车主')
    busy_date = fields.Date(string=u'日期')
    active = fields.Boolean(u'状态', default=True)
